<template>
    <div>
        <van-nav-bar title="详情" left-text="返回" left-arrow @click-left="onClickLeft" />
        <van-action-bar>
            <van-action-bar-icon icon="chat-o" text="客服"  />
            <van-action-bar-icon icon="cart-o" text="购物车"  />
            <van-action-bar-icon icon="shop-o" text="店铺"  />
            <van-action-bar-button type="warning" text="加入购物车" @click="jrgwc"/>
            <van-action-bar-button type="danger" text="立即购买" />
        </van-action-bar>

    </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = new useRouter()
const onClickLeft = () => {
    router.push('/lb')
}
const jrgwc = () => {
    router.push('/home/gwc')
}
</script>

<style lang="scss" scoped></style>